import type { TableHeader, operationInstance } from "@/components/dzs-table/@types";
import type { children } from "@/components/dzs-form/@types";

export const TABALE_HEADER: TableHeader[] = [
    {
        label: "用户名称",
        key: "user_name"
    },
    {
        label : "邮箱",
        key : "email"
    },
    {
        label: "权限名称",
        key: "roleName"
    },
    {
        label: "最后登录时间",
        key: "lastLoginTime",
    },
    {
        label: "登录IP",
        key: "loginIP",
    },
    {
        label: "是否禁用",
        key: "is_del",
        isSlot: true
    },
    {
        label: "更新时间",
        key: "updatetime",
    },
    {
        label: "创建时间",
        key: "addtime",
    }
];

export const operation : Array<operationInstance> = ["edit", 'delete' , 'detail'];
